package com.lucky.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.lucky.system.dao.LinksDao;
import com.lucky.system.domain.LinksDO;
import com.lucky.system.service.LinksService;



@Service
public class LinksServiceImpl implements LinksService {
	@Autowired
	private LinksDao linksDao;
	
	@Override
	public LinksDO get(Integer id){
		return linksDao.get(id);
	}
	
	@Override
	public List<LinksDO> list(Map<String, Object> map){
		return linksDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return linksDao.count(map);
	}
	
	@Override
	public int save(LinksDO links){
		return linksDao.save(links);
	}
	
	@Override
	public int update(LinksDO links){
		return linksDao.update(links);
	}
	
	@Override
	public int remove(Integer id){
		return linksDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return linksDao.batchRemove(ids);
	}
	
}
